﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Devida/Siste.master" AutoEventWireup="false" CodeFile="Lista_Consolidado.aspx.vb" Inherits="Devida_Lista_Consolidado" Theme="Yahoo-Ocean" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register src="ucAlerta.ascx" TagName="Alerta" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">

        .style2
        {
            width:100%;
        }
        .Frm_Fondo_fila_linea {
	BACKGROUND-COLOR: #1867B2;
            width: 0;
        }
        .style14
        {
            BACKGROUND-COLOR: #199A44;
            width: 100px;
        }
        .style17
        {
            BACKGROUND-COLOR: #199A44;
            width: 78px;
        }
        .style32
    {
        BACKGROUND-COLOR: #199A44;
        width: 196px;
    }
    .style33
    {
        BACKGROUND-COLOR: #199A44;
        width: 139px;
    }
    .style38
    {
        width: 88px;
    }
    .style42
    {
        width: 64px;
    }
     .Cabecera
        {
            height: 18px;
            font-weight: bold;
            font-size: 10px;
            color: White; 
            text-align: center;
            text-transform: uppercase;
            background-color: #66CC99;
        }
    </style>
    <base target="_self" />
    <link href="../css/EstilosFrm.css" type="text/css" rel="stylesheet" /> 
    <link href="../css/i_consultas.css" type="text/css" rel="stylesheet" />
    <link href="../css/diseno.css" type="text/css" rel="Stylesheet" />
    <link href="../css/style2.css" type="text/css" rel="stylesheet" />
    <link href="../css/StyleSheet.css" type="text/css" rel="stylesheet" />

     <script src="../js/jsForms/js_Consulta.js" type="text/javascript"></script>
     <script language="javascript" src="../Script/PrintScript.js" type="text/javascript"> </script>
    <script src="../js/js_windowpopup.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function startWord(strFile) {
            var myApp = new ActiveXObject("Word.Application");
            if (myApp != null) {
                myApp.Visible = true;
                myApp.Documents.Open(strFile);
            }
        }
        function Resaltar_On(GridView) {
            if (GridView != null) {
                GridView.originalBgColor = GridView.style.backgroundColor;
                GridView.style.backgroundColor = "#5BADFF";
            }
        }

        function Resaltar_Off(GridView) {
            if (GridView != null) {
                GridView.style.backgroundColor = GridView.originalBgColor;
            }
        }
    
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_name" Runat="Server">

<asp:Label ID="lb_name" runat="server" Font-Names="Arial" Font-Size="17px" ForeColor="white"
        Text="Lista Informe Consolidad Mensual PPER" Font-Bold="True"></asp:Label>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

 <table>                            
          <tr>
              <td>
              <table  cellpadding="0" cellspacing="0" class="style2" >
              <tr><td>&nbsp;</td></tr>              
              </table>
              </td>
          </tr>
          <tr>
           <td>
           </td>
         </tr>        
          <tr>
            <td>
                    <table cellpadding="0" cellspacing="0" style="width: 900px; height: 300px;">
                    <tr>
                        <td>
                              <div  style="border: solid 1px #99aabd; width: 900px; height: 350px; overflow: auto;" align="center">
                                        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                        <ContentTemplate>
                                            <div id="div_grilla" align="center" >                            
                                                <asp:GridView ID="gv_listaconsolidado"  runat="server" AutoGenerateColumns="False" ShowHeader="true"
                                                    CellPadding="0" CellSpacing="0" CssClass="grid" Font-Size="8pt" GridLines="Vertical"
                                                    Width="900px">
                                                    <RowStyle BackColor="#F7F6F3" Font-Bold="False" ForeColor="#333333" VerticalAlign="Top" />
                                                    <Columns>
                                                    <asp:TemplateField ItemStyle-Width="5px" ItemStyle-Font-Size ="11px" >
                                                    <HeaderTemplate  >N°</HeaderTemplate>
                                                     <ItemTemplate>

                                                     <%# Container.DataItemIndex + 1%>
                                                   <asp:HiddenField ID="codig" runat="server" Value='<%# Eval("codigo") %>' />                 
                                                       </ItemTemplate>
                                                       </asp:TemplateField>
                                                      <asp:BoundField HeaderText="Codigo" DataField="codigo" ItemStyle-Font-Size ="9px" ItemStyle-HorizontalAlign="Left" ItemStyle-Width="60px" />
                                                      <asp:BoundField HeaderText="PPER" DataField="ABREVIATURA" ItemStyle-Font-Size ="9px"  ItemStyle-HorizontalAlign="Left" ItemStyle-Width="60px" />
                                                      <asp:BoundField HeaderText="Periodo" DataField="PERIODO" ItemStyle-Font-Size ="9px"  ItemStyle-HorizontalAlign="Left" ItemStyle-Width="60px" />
                                                       <asp:BoundField HeaderText="Fecha" DataField="fecha" ItemStyle-Font-Size ="9px"  ItemStyle-HorizontalAlign="Left" ItemStyle-Width="60px" />
                                                      <asp:BoundField HeaderText="Descripción PPER" DataField="DESCRIPCION" ItemStyle-Font-Size ="9px"  ItemStyle-HorizontalAlign="Justify"  ItemStyle-Width="400px" />
                                                    
                                                        <asp:CommandField ShowSelectButton="false" Visible="False" />
                                                    </Columns>
                                                    <SelectedRowStyle BackColor="#5BADFF" Font-Bold="True" ForeColor="#333333" />
                                                    <AlternatingRowStyle BackColor="#CEDAF2" ForeColor="#003366" />
                                                    <PagerStyle BackColor="#336699" Font-Bold="True" Font-Names="Verdana" Font-Size="10px"
                                                        ForeColor="White" HorizontalAlign="left" Wrap="False" />
                                                </asp:GridView>
                                            </div>
                                        </ContentTemplate>
                                        <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="gv_listaconsolidado" EventName="SelectedIndexChanged" />
                                        </Triggers>
                                        </asp:UpdatePanel>
                                </div>
                            
                        </td>
                    </tr>
                </table>
                    </td>
         </tr>    
          <tr><td>
        <table width="900px" cellpadding="0" cellspacing="0">
        <tr>
                <td width="130px" align="left" >
                <asp:ImageButton ID="btn_nuevo" runat="server" ImageUrl="~/Imagenes/btnNuevo.png" ToolTip="Nuevo Informe" />
                </td>
                <td width="130px" align="left" >
                <asp:ImageButton ID="btn_modificar" runat="server" ImageUrl="~/Imagenes/btnModificar.png" ToolTip="Modificar Informe"/> 
                </td>                
                <td width="160px" align="left" >
                <asp:ImageButton ID="btn_eliminar" runat="server" ImageUrl="~/Imagenes/btnEliminar.png" ToolTip="Eliminar Informe"/>
                </td> 
                <td width="160px"> </td>           
                <td width="100px">
                
                </td>   
                <td width="100px" align="right" >
                 <asp:ImageButton ID="ibn_salir" runat="server" ImageUrl="~/Imagenes/btnSalir.png" ToolTip="Salir" />              
                 </td> 
                </tr>
        </table>        
        </td></tr>
    </table>
     <uc1:Alerta id="alerta" runat="server"></uc1:Alerta>
</asp:Content>

